]>
Commit | Line | Data |
---|---|---|
fcef663f | 1 | # |
df6da6cb | 2 | # Conditional build: |
6f014dd4 | 3 | %bcond_without apidocs # gtk-doc build |
ee442e22 JB |
4 | %bcond_without cloudprint # cloudprint print backend |
5 | %bcond_without cups # CUPS print backend | |
6 | %bcond_without papi # PAPI print backend | |
6f014dd4 | 7 | %bcond_without broadway # Broadway target |
bf4574b0 | 8 | %bcond_with sysprof # sysprof profiler support |
3be571ff | 9 | %bcond_with typeahead # Typeahead in open dialog |
6f014dd4 | 10 | %bcond_without wayland # Wayland target |
e9da199f | 11 | %bcond_with cloudproviders # libcloudproviders integration |
6f014dd4 | 12 | %bcond_without static_libs # static library build |
41d59618 | 13 | |
df6da6cb MB |
14 | Summary: The GIMP Toolkit |
15 | Summary(cs.UTF-8): Sada nástrojů pro GIMP | |
16 | Summary(de.UTF-8): Der GIMP-Toolkit | |
17 | Summary(fi.UTF-8): GIMP-työkalukokoelma | |
18 | Summary(fr.UTF-8): Le toolkit de GIMP | |
19 | Summary(it.UTF-8): Il toolkit per GIMP | |
20 | Summary(pl.UTF-8): GIMP Toolkit | |
21 | Summary(tr.UTF-8): GIMP ToolKit arayüz kitaplığı | |
22 | Name: gtk+3 | |
7746b594 | 23 | Version: 3.24.27 |
dafcff72 | 24 | Release: 1 |
df6da6cb MB |
25 | License: LGPL v2+ |
26 | Group: X11/Libraries | |
8a5548d7 | 27 | Source0: https://download.gnome.org/sources/gtk+/3.24/gtk+-%{version}.tar.xz |
7746b594 | 28 | # Source0-md5: 99db21f0a162a989ec629090d4827e80 |
2b9b05b4 | 29 | Patch0: %{name}-papi.patch |
3be571ff | 30 | Patch1: typeahead.patch |
1f5ff9c1 | 31 | Patch2: %{name}-cloudproviders.patch |
bf4574b0 | 32 | URL: https://www.gtk.org/ |
bdc89444 | 33 | BuildRequires: at-spi2-atk-devel >= 2.6.0 |
4e9dc432 | 34 | BuildRequires: atk-devel >= 1:2.16.0 |
df6da6cb MB |
35 | BuildRequires: autoconf >= 2.62 |
36 | BuildRequires: automake >= 1:1.11 | |
0d45598e | 37 | # cairo-gobject + cairo-pdf,cairo-ps,cairo-svg |
4e9dc432 | 38 | BuildRequires: cairo-gobject-devel >= 1.14.0 |
381c593f | 39 | BuildRequires: colord-devel >= 0.1.9 |
2b9b05b4 | 40 | %if %{with cups} || %{with papi} |
23d30dd7 | 41 | BuildRequires: cups-devel >= 1:1.7 |
2b9b05b4 | 42 | %endif |
df6da6cb | 43 | BuildRequires: docbook-dtd412-xml |
74093dc4 | 44 | BuildRequires: docbook-style-xsl-nons |
f09aac54 | 45 | BuildRequires: fontconfig-devel |
bf4574b0 | 46 | BuildRequires: fribidi-devel >= 0.19.7 |
c3ba6aef | 47 | BuildRequires: gdk-pixbuf2-devel >= 2.31.0 |
cd2d5c9a | 48 | BuildRequires: gettext-tools >= 0.19.7 |
e36fd24d | 49 | BuildRequires: glib2-devel >= 1:2.57.2 |
4b55f7b7 | 50 | BuildRequires: gobject-introspection-devel >= 1.39.0 |
0409c8bb | 51 | %if %{with apidocs} |
4b55f7b7 ŁK |
52 | BuildRequires: gtk-doc >= 1.20 |
53 | BuildRequires: gtk-doc-automake >= 1.20 | |
0409c8bb | 54 | %endif |
64eff0b7 | 55 | BuildRequires: harfbuzz-devel >= 0.9 |
f09aac54 | 56 | BuildRequires: iso-codes |
ee442e22 | 57 | %{?with_cloudprint:BuildRequires: json-glib-devel >= 1.0} |
e9da199f | 58 | %{?with_cloudproviders:BuildRequires: libcloudproviders-devel >= 0.2.5} |
f09aac54 | 59 | BuildRequires: libepoxy-devel >= 1.4 |
0ab1241b | 60 | BuildRequires: libstdc++-devel |
d96ac102 | 61 | BuildRequires: libtool >= 2:2.2.6 |
df6da6cb MB |
62 | BuildRequires: libxml2-progs >= 1:2.6.31 |
63 | BuildRequires: libxslt-progs >= 1.1.20 | |
f09aac54 | 64 | BuildRequires: pango-devel >= 1:1.41.0 |
2b9b05b4 | 65 | %{?with_papi:BuildRequires: papi-devel} |
df6da6cb MB |
66 | BuildRequires: perl-base |
67 | BuildRequires: pkgconfig | |
ee442e22 | 68 | %{?with_cloudprint:BuildRequires: rest-devel >= 0.7} |
7746b594 | 69 | BuildRequires: rpm-build >= 4.6 |
df6da6cb | 70 | BuildRequires: rpm-pythonprov |
8a5548d7 | 71 | BuildRequires: rpmbuild(macros) >= 1.752 |
337aa9ac | 72 | BuildRequires: sed >= 4.0 |
0ab1241b | 73 | BuildRequires: sqlite3-devel |
bf4574b0 | 74 | %{?with_sysprof:BuildRequires: sysprof-devel >= 3.33.2} |
0ab1241b | 75 | BuildRequires: tar >= 1:1.22 |
41d59618 | 76 | BuildRequires: xorg-lib-libX11-devel >= 1.5.0 |
df6da6cb MB |
77 | BuildRequires: xorg-lib-libXcomposite-devel |
78 | BuildRequires: xorg-lib-libXcursor-devel | |
79 | BuildRequires: xorg-lib-libXdamage-devel | |
80 | BuildRequires: xorg-lib-libXext-devel | |
81 | BuildRequires: xorg-lib-libXfixes-devel | |
82 | BuildRequires: xorg-lib-libXft-devel | |
83 | BuildRequires: xorg-lib-libXi-devel | |
84 | BuildRequires: xorg-lib-libXinerama-devel | |
cd2d5c9a | 85 | BuildRequires: xorg-lib-libXrandr-devel >= 1.5.0 |
df6da6cb | 86 | BuildRequires: xorg-lib-libXrender-devel |
381c593f | 87 | BuildRequires: xz |
6f014dd4 JB |
88 | %{?with_broadway:BuildRequires: zlib-devel} |
89 | %if %{with wayland} | |
0d45598e | 90 | # wayland-client, wayland-cursor, wayland-scanner |
bf4574b0 | 91 | BuildRequires: wayland-devel >= 1.14.91 |
67b2ca83 | 92 | BuildRequires: wayland-egl-devel |
bf4574b0 | 93 | BuildRequires: wayland-protocols >= 1.14 |
6f014dd4 JB |
94 | BuildRequires: xorg-lib-libxkbcommon-devel >= 0.2.0 |
95 | %endif | |
41d59618 | 96 | Requires: xorg-lib-libX11 >= 1.5.0 |
e36fd24d | 97 | Requires(post,postun): glib2 >= 1:2.57.2 |
4e9dc432 MB |
98 | Requires: atk >= 1:2.16.0 |
99 | Requires: cairo-gobject >= 1.14.0 | |
bf4574b0 | 100 | Requires: fribidi >= 0.19.7 |
c3ba6aef | 101 | Requires: gdk-pixbuf2 >= 2.31.0 |
e36fd24d | 102 | Requires: glib2 >= 1:2.57.2 |
e9da199f | 103 | %{?with_cloudproviders:Requires: libcloudproviders >= 0.2.5} |
f09aac54 JB |
104 | Requires: libepoxy >= 1.4 |
105 | Requires: pango >= 1:1.41.0 | |
bf4574b0 | 106 | %{?with_sysprof:Requires: sysprof >= 3.33.2} |
baa99f47 | 107 | Requires: xorg-lib-libXi >= 1.3.0 |
cd2d5c9a | 108 | Requires: xorg-lib-libXrandr >= 1.5.0 |
6f014dd4 | 109 | %if %{with wayland} |
bf4574b0 | 110 | Requires: wayland >= 1.14.91 |
6f014dd4 JB |
111 | Requires: xorg-lib-libxkbcommon >= 0.2.0 |
112 | %endif | |
e5dca4b8 AF |
113 | # evince is used as gtk-print-preview-command by default |
114 | Suggests: evince-backend-pdf | |
df6da6cb MB |
115 | %if %{with cups} |
116 | # cups is used by default if gtk+ is built with cups | |
117 | Suggests: %{name}-cups = %{version}-%{release} | |
118 | %endif | |
119 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
120 | ||
121 | %define abivers 3.0.0 | |
122 | ||
123 | %if "%{_lib}" != "lib" | |
124 | %define libext %(lib="%{_lib}"; echo ${lib#lib}) | |
df6da6cb MB |
125 | %define pqext -%{libext} |
126 | %else | |
df6da6cb MB |
127 | %define pqext %{nil} |
128 | %endif | |
129 | ||
130 | %description | |
131 | GTK+, which stands for the GIMP ToolKit, is a library for creating | |
132 | graphical user interfaces for the X Window System. It is designed to | |
133 | be small, efficient, and flexible. GTK+ is written in C with a very | |
134 | object-oriented approach. GDK (part of GTK+) is a drawing toolkit | |
135 | which provides a thin layer over Xlib to help automate things like | |
136 | dealing with different color depths, and GTK is a widget set for | |
137 | creating user interfaces. | |
138 | ||
139 | %description -l cs.UTF-8 | |
140 | Knihovny X původně psané pro GIMP, které nyní používá také řada jiných | |
141 | programů. | |
142 | ||
143 | %description -l da.UTF-8 | |
144 | X biblioteker, oprindeligt udviklet til GIMP, men anvendes nu af flere | |
145 | forskellige programmer. | |
146 | ||
147 | %description -l de.UTF-8 | |
148 | Die X-Libraries, die ursprünglich für GIMP geschrieben wurden und | |
149 | mittlerweile für eine ganze Reihe anderer Programme benutzt werden. | |
150 | ||
151 | %description -l fr.UTF-8 | |
152 | X-kirjastot, jotka alunperin kirjoitettiin GIMP:lle, mutta joita | |
153 | käytetään nyt myös useissa muissakin ohjelmissa. | |
154 | ||
155 | %description -l it.UTF-8 | |
156 | Libreria X scritta per GIMP. Viene usata da diversi programmi. | |
157 | ||
158 | %description -l pl.UTF-8 | |
159 | GTK+, która to biblioteka stała się podstawą programu GIMP, zawiera | |
160 | funkcje do tworzenia graficznego interfejsu użytkownika pod X Window. | |
161 | Była tworzona z założeniem żeby była mała, efektywna i wygodna. GTK+ | |
162 | jest napisane w C z podejściem zorientowanym bardzo obiektowo. GDK | |
163 | (część GTK+) jest warstwą pośrednią pomiędzy Xlib a właściwym GTK | |
164 | zapewniającą pracę niezależnie od głębi koloru (ilości bitów na | |
165 | piksel). GTK (druga część GTK+) jest natomiast już zbiorem różnego | |
166 | rodzaju kontrolek służących do tworzenia interfejsu użytkownika. | |
167 | ||
168 | %description -l tr.UTF-8 | |
169 | Başlangıçta GIMP için yazılmış X kitaplıkları. Şu anda başka | |
170 | programlarca da kullanılmaktadır. | |
171 | ||
f908a1eb | 172 | %package -n gtk-update-icon-cache |
fcef663f JB |
173 | Summary: Utility to update icon cache used by GTK+ library |
174 | Summary(pl.UTF-8): Narzędzie do uaktualniania cache'a ikon używanego przez bibliotekę GTK+ | |
f908a1eb | 175 | Group: Applications/System |
c3ba6aef | 176 | Requires: gdk-pixbuf2 >= 2.31.0 |
e36fd24d | 177 | Requires: glib2 >= 1:2.57.2 |
f908a1eb AF |
178 | |
179 | %description -n gtk-update-icon-cache | |
fcef663f JB |
180 | Utility to update icon cache used by GTK+ library. |
181 | ||
182 | %description -n gtk-update-icon-cache -l pl.UTF-8 | |
183 | Narzędzie do uaktualniania cache'a ikon używanego przez bibliotekę | |
184 | GTK+. | |
f908a1eb | 185 | |
df6da6cb MB |
186 | %package devel |
187 | Summary: GTK+ header files and development documentation | |
188 | Summary(cs.UTF-8): Sada nástrojů GIMP a kreslící kit GIMP | |
189 | Summary(da.UTF-8): GIMP Toolkit og GIMP Tegnings-værktøj | |
190 | Summary(de.UTF-8): GIMP Toolkit und GIMP Drawing Kit | |
191 | Summary(fi.UTF-8): Gimp-työkalukokoelma ja Gimp-piirtotyökalut | |
192 | Summary(fr.UTF-8): Toolkit de GIMP (GTK) et Kit de dessin de GIMP (GDK) | |
193 | Summary(it.UTF-8): GIMP Toolkit and GIMP Drawing Kit | |
194 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do GTK+ | |
195 | Summary(tr.UTF-8): GIMP araç takımı ve çizim takımı | |
196 | Group: X11/Development/Libraries | |
197 | Requires: %{name} = %{version}-%{release} | |
bdc89444 | 198 | Requires: at-spi2-atk-devel >= 2.6.0 |
4e9dc432 MB |
199 | Requires: atk-devel >= 1:2.16.0 |
200 | Requires: cairo-gobject-devel >= 1.14.0 | |
bf4574b0 | 201 | Requires: fribidi-devel >= 0.19.7 |
c3ba6aef | 202 | Requires: gdk-pixbuf2-devel >= 2.31.0 |
e36fd24d | 203 | Requires: glib2-devel >= 1:2.57.2 |
f09aac54 | 204 | Requires: pango-devel >= 1:1.41.0 |
df6da6cb | 205 | Requires: shared-mime-info |
bf4574b0 JB |
206 | %{?with_sysprof:Requires: sysprof-devel >= 3.33.2} |
207 | %if %{with wayland} | |
208 | Requires: wayland-devel >= 1.14.91 | |
209 | Requires: wayland-egl-devel | |
210 | Requires: wayland-protocols >= 1.14 | |
211 | Requires: xorg-lib-libxkbcommon-devel >= 0.2.0 | |
212 | %endif | |
df6da6cb MB |
213 | |
214 | %description devel | |
215 | Header files and development documentation for the GTK+ libraries. | |
216 | ||
217 | %description devel -l pl.UTF-8 | |
218 | Pliki nagłówkowe i dokumentacja do bibliotek GTK+. | |
219 | ||
220 | %package static | |
221 | Summary: GTK+ static libraries | |
222 | Summary(pl.UTF-8): Biblioteki statyczne GTK+ | |
223 | Group: X11/Development/Libraries | |
224 | Requires: %{name}-devel = %{version}-%{release} | |
225 | ||
226 | %description static | |
227 | GTK+ static libraries. | |
228 | ||
229 | %description static -l pl.UTF-8 | |
230 | Biblioteki statyczne GTK+ | |
231 | ||
232 | %package apidocs | |
233 | Summary: GTK+ API documentation | |
234 | Summary(pl.UTF-8): Dokumentacja API GTK+ | |
235 | Group: Documentation | |
236 | Requires: gtk-doc-common | |
6bfcb621 | 237 | BuildArch: noarch |
df6da6cb MB |
238 | |
239 | %description apidocs | |
240 | GTK+ API documentation. | |
241 | ||
242 | %description apidocs -l pl.UTF-8 | |
243 | Dokumentacja API GTK+. | |
244 | ||
245 | %package examples | |
246 | Summary: GTK+ - example programs | |
247 | Summary(pl.UTF-8): GTK+ - programy przykładowe | |
248 | Group: X11/Development/Libraries | |
e36fd24d | 249 | Requires(post,postun): glib2 >= 1:2.57.2 |
df6da6cb MB |
250 | Requires: %{name}-devel = %{version}-%{release} |
251 | ||
252 | %description examples | |
253 | GTK+ - example programs. | |
254 | ||
255 | %description examples -l pl.UTF-8 | |
256 | GTK+ - przykładowe programy. | |
257 | ||
ee442e22 JB |
258 | %package cloudprint |
259 | Summary: Cloudprint printing module for GTK+ | |
260 | Summary(pl.UTF-8): Moduł GTK+ do drukowania przez Cloudprint | |
261 | Group: X11/Libraries | |
262 | Requires: %{name} = %{version}-%{release} | |
263 | ||
264 | %description cloudprint | |
265 | Cloudprint printing module for GTK+. | |
266 | ||
267 | %description cloudprint -l pl.UTF-8 | |
268 | Moduł GTK+ do drukowania przez Cloudprint. | |
269 | ||
df6da6cb MB |
270 | %package cups |
271 | Summary: CUPS printing module for GTK+ | |
272 | Summary(pl.UTF-8): Moduł GTK+ do drukowania przez CUPS | |
273 | Group: X11/Libraries | |
274 | Requires: %{name} = %{version}-%{release} | |
275 | ||
276 | %description cups | |
277 | CUPS printing module for GTK+. | |
278 | ||
279 | %description cups -l pl.UTF-8 | |
280 | Moduł GTK+ do drukowania przez CUPS. | |
281 | ||
2b9b05b4 JB |
282 | %package papi |
283 | Summary: PAPI printing module for GTK+ | |
284 | Summary(pl.UTF-8): Moduł GTK+ do drukowania przez PAPI | |
285 | Group: X11/Libraries | |
286 | Requires: %{name} = %{version}-%{release} | |
287 | Requires: papi | |
288 | ||
289 | %description papi | |
290 | PAPI printing module for GTK+. | |
291 | ||
292 | %description papi -l pl.UTF-8 | |
293 | Moduł GTK+ do drukowania przez PAPI. | |
294 | ||
df6da6cb MB |
295 | %prep |
296 | %setup -q -n gtk+-%{version} | |
2b9b05b4 | 297 | %patch0 -p1 |
3be571ff JP |
298 | %if %{with typeahead} |
299 | %patch1 -p1 | |
300 | %endif | |
e9da199f | 301 | %patch2 -p1 |
d2a64c75 | 302 | |
337aa9ac JP |
303 | %{__sed} -i -e '1s|#!/usr/bin/env python3$|#!%{__python3}|' demos/gtk-demo/geninclude.py |
304 | ||
f4528c41 ER |
305 | # for packaging clean examples |
306 | # TODO: add am patch to do it like demos/gtk-demo via some configurable dir | |
307 | # NOTE: make install so far installs only demos/gtk-demo | |
308 | install -d _examples | |
309 | cp -a demos examples _examples | |
310 | ||
a26c4a23 JB |
311 | # upstream used too new wayland for make dist in 3.10.6 - force regeneration |
312 | touch gdk/wayland/protocol/gtk-shell.xml | |
313 | ||
df6da6cb | 314 | %build |
2b9b05b4 | 315 | CPPFLAGS="%{rpmcppflags}%{?with_papi: -I/usr/include/papi}" |
df6da6cb MB |
316 | %{?with_apidocs:%{__gtkdocize}} |
317 | %{__libtoolize} | |
318 | %{__aclocal} -I m4 | |
df6da6cb | 319 | %{__autoconf} |
d96ac102 | 320 | %{__autoheader} |
df6da6cb MB |
321 | %{__automake} |
322 | %configure \ | |
b53848b1 | 323 | --disable-silent-rules \ |
ee442e22 | 324 | %{!?with_cloudprint:--disable-cloudprint} \ |
f908a1eb | 325 | %{__disable cups} \ |
2b9b05b4 | 326 | %{!?with_papi:--disable-papi} \ |
e9da199f JB |
327 | %{?with_cloudproviders:--enable-cloudproviders} \ |
328 | %{?debug:--enable-debug} \ | |
f908a1eb | 329 | %{__enable_disable apidocs gtk-doc} \ |
df6da6cb | 330 | --enable-man \ |
f908a1eb | 331 | %{__enable_disable static_libs static} \ |
6f014dd4 | 332 | %{?with_broadway:--enable-broadway-backend} \ |
bf4574b0 | 333 | %{?with_sysprof:--enable-profiler} \ |
6f014dd4 | 334 | %{?with_wayland:--enable-wayland-backend} \ |
f908a1eb | 335 | --enable-x11-backend \ |
6f014dd4 | 336 | --enable-xinerama \ |
f908a1eb | 337 | --enable-xkb \ |
03882d3a MK |
338 | --with-html-dir=%{_gtkdocdir} |
339 | ||
f4528c41 ER |
340 | %{__make} \ |
341 | democodedir=%{_examplesdir}/%{name}-%{version}/demos/gtk-demo | |
df6da6cb MB |
342 | |
343 | %install | |
344 | rm -rf $RPM_BUILD_ROOT | |
1da74c1d | 345 | install -d $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/%{abivers}/engines |
2c40d76a | 346 | install -d $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/%{abivers}/theming-engines |
df6da6cb MB |
347 | |
348 | %{__make} install \ | |
f4528c41 | 349 | democodedir=%{_examplesdir}/%{name}-%{version}/demos/gtk-demo \ |
df6da6cb MB |
350 | DESTDIR=$RPM_BUILD_ROOT |
351 | ||
e155be9a | 352 | touch $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/%{abivers}/gtk.immodules |
381c593f | 353 | install -d $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/modules |
df6da6cb | 354 | |
f4528c41 ER |
355 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
356 | cp -a _examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
df6da6cb MB |
357 | |
358 | # shut up check-files (static modules and *.la for modules) | |
c115efa5 JP |
359 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/%{abivers}/*/*.la \ |
360 | %{?with_static_libs:$RPM_BUILD_ROOT%{_libdir}/gtk-3.0/%{abivers}/*/*.a} | |
df6da6cb MB |
361 | |
362 | %if "%{_lib}" != "lib" | |
363 | # We need to have 32-bit and 64-bit binaries as they have hardcoded LIBDIR. | |
364 | # (needed when multilib is used) | |
df6da6cb MB |
365 | mv $RPM_BUILD_ROOT%{_bindir}/gtk-query-immodules-3.0{,%{pqext}} |
366 | %endif | |
367 | ||
8c232071 | 368 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian} |
df6da6cb | 369 | # unsupported by glibc |
fb533c6d | 370 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/io |
df6da6cb | 371 | |
007e46e9 AF |
372 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
373 | ||
df6da6cb MB |
374 | %find_lang %{name} --all-name |
375 | ||
327b1559 | 376 | %{!?with_apidocs:%{__rm} -r $RPM_BUILD_ROOT%{_gtkdocdir}/{gdk3,gtk3}} |
df6da6cb MB |
377 | |
378 | %clean | |
379 | rm -rf $RPM_BUILD_ROOT | |
380 | ||
381 | %post | |
382 | /sbin/ldconfig | |
93de6ff7 | 383 | %glib_compile_schemas |
df6da6cb | 384 | umask 022 |
e155be9a | 385 | %{_bindir}/gtk-query-immodules-3.0%{pqext} --update-cache |
df6da6cb MB |
386 | exit 0 |
387 | ||
388 | %postun | |
389 | /sbin/ldconfig | |
390 | if [ "$1" != "0" ]; then | |
391 | umask 022 | |
e155be9a | 392 | %{_bindir}/gtk-query-immodules-3.0%{pqext} --update-cache |
b53848b1 | 393 | else |
93de6ff7 | 394 | %glib_compile_schemas |
df6da6cb MB |
395 | fi |
396 | exit 0 | |
397 | ||
0ab1241b MB |
398 | %post examples |
399 | %glib_compile_schemas | |
400 | ||
401 | %postun examples | |
402 | %glib_compile_schemas | |
403 | ||
df6da6cb MB |
404 | %files -f %{name}.lang |
405 | %defattr(644,root,root,755) | |
406 | %doc AUTHORS NEWS README | |
6f014dd4 | 407 | %{?with_broadway:%attr(755,root,root) %{_bindir}/broadwayd} |
0409c8bb | 408 | %attr(755,root,root) %{_bindir}/gtk-launch |
df6da6cb | 409 | %attr(755,root,root) %{_bindir}/gtk-query-immodules-3.0%{pqext} |
d2a64c75 MB |
410 | %attr(755,root,root) %{_libdir}/libgailutil-3.so.*.*.* |
411 | %attr(755,root,root) %ghost %{_libdir}/libgailutil-3.so.0 | |
412 | %attr(755,root,root) %{_libdir}/libgdk-3.so.*.*.* | |
413 | %attr(755,root,root) %ghost %{_libdir}/libgdk-3.so.0 | |
414 | %attr(755,root,root) %{_libdir}/libgtk-3.so.*.*.* | |
415 | %attr(755,root,root) %ghost %{_libdir}/libgtk-3.so.0 | |
df6da6cb MB |
416 | |
417 | %dir %{_libdir}/gtk-3.0 | |
418 | %dir %{_libdir}/gtk-3.0/modules | |
419 | %dir %{_libdir}/gtk-3.0/%{abivers} | |
1da74c1d | 420 | %dir %{_libdir}/gtk-3.0/%{abivers}/engines |
2c40d76a | 421 | %dir %{_libdir}/gtk-3.0/%{abivers}/theming-engines |
df6da6cb | 422 | %dir %{_libdir}/gtk-3.0/%{abivers}/immodules |
df6da6cb | 423 | %dir %{_libdir}/gtk-3.0/%{abivers}/printbackends |
e155be9a | 424 | %ghost %{_libdir}/gtk-3.0/%{abivers}/gtk.immodules |
df6da6cb MB |
425 | %attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/printbackends/libprintbackend-file.so |
426 | %attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/printbackends/libprintbackend-lpr.so | |
2200cba6 | 427 | %attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/immodules/im-am-et.so |
4b55f7b7 | 428 | %{?with_broadway:%attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/immodules/im-broadway.so} |
2200cba6 AF |
429 | %attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/immodules/im-cedilla.so |
430 | %attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/immodules/im-cyrillic-translit.so | |
431 | %attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/immodules/im-inuktitut.so | |
432 | %attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/immodules/im-ipa.so | |
433 | %attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/immodules/im-multipress.so | |
434 | %attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/immodules/im-thai.so | |
435 | %attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/immodules/im-ti-er.so | |
436 | %attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/immodules/im-ti-et.so | |
437 | %attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/immodules/im-viqr.so | |
7fc82876 JP |
438 | %if %{with wayland} |
439 | %attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/immodules/im-wayland.so | |
440 | %attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/immodules/im-waylandgtk.so | |
441 | %endif | |
2200cba6 | 442 | %attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/immodules/im-xim.so |
fcef663f JB |
443 | %{_libdir}/girepository-1.0/Gdk-3.0.typelib |
444 | %{_libdir}/girepository-1.0/GdkX11-3.0.typelib | |
445 | %{_libdir}/girepository-1.0/Gtk-3.0.typelib | |
df6da6cb | 446 | |
e155be9a MB |
447 | %dir %{_sysconfdir}/gtk-3.0 |
448 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gtk-3.0/im-multipress.conf | |
0ab1241b | 449 | %{_datadir}/glib-2.0/schemas/org.gtk.Settings.ColorChooser.gschema.xml |
c3ba6aef | 450 | %{_datadir}/glib-2.0/schemas/org.gtk.Settings.Debug.gschema.xml |
4ec01b67 | 451 | %{_datadir}/glib-2.0/schemas/org.gtk.Settings.EmojiChooser.gschema.xml |
b53848b1 | 452 | %{_datadir}/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml |
2200cba6 AF |
453 | %dir %{_datadir}/themes/Default/gtk-3.0 |
454 | %{_datadir}/themes/Default/gtk-3.0/gtk-keys.css | |
df6da6cb | 455 | %dir %{_datadir}/themes/Emacs |
2200cba6 AF |
456 | %dir %{_datadir}/themes/Emacs/gtk-3.0 |
457 | %{_datadir}/themes/Emacs/gtk-3.0/gtk-keys.css | |
6f014dd4 | 458 | %{?with_broadway:%{_mandir}/man1/broadwayd.1*} |
0409c8bb | 459 | %{_mandir}/man1/gtk-launch.1* |
df6da6cb | 460 | %{_mandir}/man1/gtk-query-immodules-3.0.1* |
f908a1eb AF |
461 | |
462 | %files -n gtk-update-icon-cache | |
463 | %defattr(644,root,root,755) | |
5e14eb23 | 464 | %attr(755,root,root) %{_bindir}/gtk-encode-symbolic-svg |
f908a1eb | 465 | %attr(755,root,root) %{_bindir}/gtk-update-icon-cache |
5e14eb23 | 466 | %{_mandir}/man1/gtk-encode-symbolic-svg.1* |
f908a1eb | 467 | %{_mandir}/man1/gtk-update-icon-cache.1* |
df6da6cb MB |
468 | |
469 | %files devel | |
470 | %defattr(644,root,root,755) | |
471 | %doc ChangeLog | |
1af9573a | 472 | %attr(755,root,root) %{_bindir}/gtk-builder-tool |
57dec5b8 | 473 | %attr(755,root,root) %{_bindir}/gtk-query-settings |
d2a64c75 MB |
474 | %attr(755,root,root) %{_libdir}/libgailutil-3.so |
475 | %attr(755,root,root) %{_libdir}/libgdk-3.so | |
476 | %attr(755,root,root) %{_libdir}/libgtk-3.so | |
df6da6cb MB |
477 | %{_includedir}/gail-3.0 |
478 | %{_includedir}/gtk-3.0 | |
e155be9a | 479 | %{_aclocaldir}/gtk-3.0.m4 |
df6da6cb MB |
480 | %{_pkgconfigdir}/gail-3.0.pc |
481 | %{_pkgconfigdir}/gdk-3.0.pc | |
f908a1eb | 482 | %{_pkgconfigdir}/gdk-x11-3.0.pc |
df6da6cb MB |
483 | %{_pkgconfigdir}/gtk+-3.0.pc |
484 | %{_pkgconfigdir}/gtk+-unix-print-3.0.pc | |
485 | %{_pkgconfigdir}/gtk+-x11-3.0.pc | |
6f014dd4 JB |
486 | %if %{with broadway} |
487 | %{_pkgconfigdir}/gdk-broadway-3.0.pc | |
488 | %{_pkgconfigdir}/gtk+-broadway-3.0.pc | |
489 | %endif | |
490 | %if %{with wayland} | |
491 | %{_pkgconfigdir}/gdk-wayland-3.0.pc | |
492 | %{_pkgconfigdir}/gtk+-wayland-3.0.pc | |
493 | %endif | |
57dec5b8 MB |
494 | %{_datadir}/gettext/its/gtkbuilder.its |
495 | %{_datadir}/gettext/its/gtkbuilder.loc | |
0ab1241b | 496 | %{_datadir}/gtk-3.0 |
df6da6cb | 497 | %{_datadir}/gir-1.0/Gdk-3.0.gir |
e155be9a | 498 | %{_datadir}/gir-1.0/GdkX11-3.0.gir |
df6da6cb | 499 | %{_datadir}/gir-1.0/Gtk-3.0.gir |
1af9573a | 500 | %{_mandir}/man1/gtk-builder-tool.1* |
57dec5b8 | 501 | %{_mandir}/man1/gtk-query-settings.1* |
df6da6cb MB |
502 | |
503 | %if %{with static_libs} | |
504 | %files static | |
505 | %defattr(644,root,root,755) | |
d2a64c75 MB |
506 | %{_libdir}/libgailutil-3.a |
507 | %{_libdir}/libgdk-3.a | |
508 | %{_libdir}/libgtk-3.a | |
df6da6cb MB |
509 | %endif |
510 | ||
511 | %if %{with apidocs} | |
512 | %files apidocs | |
513 | %defattr(644,root,root,755) | |
514 | %{_gtkdocdir}/gail-libgail-util3 | |
515 | %{_gtkdocdir}/gdk3 | |
df6da6cb MB |
516 | %{_gtkdocdir}/gtk3 |
517 | %endif | |
518 | ||
519 | %files examples | |
520 | %defattr(644,root,root,755) | |
f4528c41 | 521 | %attr(755,root,root) %{_bindir}/gtk3-demo |
0ab1241b | 522 | %attr(755,root,root) %{_bindir}/gtk3-demo-application |
c3ba6aef | 523 | %attr(755,root,root) %{_bindir}/gtk3-icon-browser |
0ab1241b MB |
524 | %attr(755,root,root) %{_bindir}/gtk3-widget-factory |
525 | %{_datadir}/glib-2.0/schemas/org.gtk.Demo.gschema.xml | |
b3594a95 | 526 | %{_datadir}/glib-2.0/schemas/org.gtk.exampleapp.gschema.xml |
4b55f7b7 | 527 | %{_desktopdir}/gtk3-demo.desktop |
c3ba6aef | 528 | %{_desktopdir}/gtk3-icon-browser.desktop |
4b55f7b7 | 529 | %{_desktopdir}/gtk3-widget-factory.desktop |
4e9dc432 | 530 | %{_iconsdir}/hicolor/*/apps/gtk3-demo-symbolic.symbolic.png |
4b55f7b7 | 531 | %{_iconsdir}/hicolor/*/apps/gtk3-demo.png |
4e9dc432 | 532 | %{_iconsdir}/hicolor/*/apps/gtk3-widget-factory-symbolic.symbolic.png |
4b55f7b7 | 533 | %{_iconsdir}/hicolor/*/apps/gtk3-widget-factory.png |
c3ba6aef | 534 | %{_mandir}/man1/gtk3-demo.1* |
4e9dc432 | 535 | %{_mandir}/man1/gtk3-demo-application.1* |
c3ba6aef ŁK |
536 | %{_mandir}/man1/gtk3-icon-browser.1* |
537 | %{_mandir}/man1/gtk3-widget-factory.1* | |
df6da6cb MB |
538 | %{_examplesdir}/%{name}-%{version} |
539 | ||
ee442e22 JB |
540 | %if %{with cloudprint} |
541 | %files cloudprint | |
542 | %defattr(644,root,root,755) | |
543 | %attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/printbackends/libprintbackend-cloudprint.so | |
544 | %endif | |
545 | ||
df6da6cb MB |
546 | %if %{with cups} |
547 | %files cups | |
548 | %defattr(644,root,root,755) | |
549 | %attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/printbackends/libprintbackend-cups.so | |
550 | %endif | |
2b9b05b4 JB |
551 | |
552 | %if %{with papi} | |
553 | %files papi | |
554 | %defattr(644,root,root,755) | |
555 | %attr(755,root,root) %{_libdir}/gtk-3.0/%{abivers}/printbackends/libprintbackend-papi.so | |
556 | %endif |